#!/usr/bin/env python3
from run_demucs import run_demucs, save_audio

import argparse

if __name__ == "__main__":
    parser = argparse.ArgumentParser(
        description="Run Demucs on a single file",
        formatter_class=argparse.ArgumentDefaultsHelpFormatter
    )
    parser.add_argument("input_path", type=str)
    parser.add_argument("--output_format", type=str, default="wav")
    args = parser.parse_args()
    run_demucs(args.input_path, args.output_format)
